home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 001-100 / 001-025 / 014 / dex / dex.h < prev    next >
C/C++ Source or Header  |  1995-03-17  |  3KB  |  98 lines

  1. /************************************************************************
  2.  *                                    *
  3.  *            Copyright (c) 1982, Fred Fish            *
  4.  *                All Rights Reserved                *
  5.  *                                    *
  6.  *    This software and/or documentation is released for public    *
  7.  *    distribution for personal, non-commercial use only.        *
  8.  *    Limited rights to use, modify, and redistribute are hereby    *
  9.  *    granted for non-commercial purposes, provided that all        *
  10.  *    copyright notices remain intact and all changes are clearly    *
  11.  *    documented.  The author makes no warranty of any kind with    *
  12.  *    respect to this product and explicitly disclaims any implied    *
  13.  *    warranties of merchantability or fitness for any particular    *
  14.  *    purpose.                            *
  15.  *                                    *
  16.  ************************************************************************
  17.  */
  18.  
  19.  
  20. /*
  21.  *  FILE
  22.  *
  23.  *    dex.h   header file for documentation extraction modules
  24.  *
  25.  *  KEY WORDS
  26.  *
  27.  *    header files
  28.  *    dex
  29.  *    documentation extraction
  30.  *
  31.  *  SYNOPSIS
  32.  *
  33.  *    #include "dex.h"
  34.  *
  35.  *  DESCRIPTION
  36.  *
  37.  *    Contains structure declarations and other common stuff
  38.  *    for the documentation extraction utility (dex) modules.
  39.  *    Separately compiled modules should include this file.
  40.  *
  41.  *    In particular, this is where the hardware and software
  42.  *    environment is defined.  In general, an environment
  43.  *    dependent variable should be defined which gives
  44.  *    both the name of the machine and its operating
  45.  *    system (or compiler).
  46.  *
  47.  *  AUTHOR
  48.  *
  49.  *    Fred Fish
  50.  *
  51.  */
  52.  
  53. /*
  54.  *    Configuration options.  Things which are generally somewhat
  55.  *    arbitrary (based on time or size constraints) belong here.
  56.  *
  57.  */
  58.  
  59. #define MAXNAMESIZE 128        /* Max size of any file names */
  60.  
  61. /*
  62.  *    Default the environment to the Callan Data Systems Unistar 200.
  63.  */
  64.  
  65. #ifndef callanunix
  66. #define callanunix
  67. #endif
  68.  
  69. /*
  70.  *    Environment dependent stuff.
  71.  */
  72.  
  73. #ifdef callanunix
  74. #define WARNING 1        /* Exit status for warnings */
  75. #define NORMAL_EXIT 0        /* Exit status for no problems */
  76. #define ERROR_EXIT 1        /* Exit status for some error */
  77. #define SEVERE_ERROR 1        /* Exit status for bad bad error */
  78. #endif
  79.  
  80. #define TRUE 1
  81. #define FALSE 0
  82.  
  83. /*
  84.  *    Documentation section flags.  These can be set or reset for
  85.  *    specific section ID's by placing suitable commands in the
  86.  *    reconfiguration file.
  87.  *
  88.  */
  89.  
  90. #define PROCESS        000001        /* Flag to enable section processing */
  91. #define EMITTEXT    000002        /* Flag for emitting the text */
  92. #define EMITBOX        000004        /* Flag for emit box commands */
  93. #define EMITFILL    000010        /* Flag to emit fill by default */
  94. #define EMITUL        000020        /* Flag to underline ID commands */
  95. #define EMITBP        000040        /* Flag to emit new page commands */
  96. #define REGION        100000        /* Flag PROCESS covers entire region */
  97.  
  98.